// 阿里矢量图标库配置
let iconfontVersion = ['567566_pwc3oottzol'];
let iconfontUrl = `//at.alicdn.com/t/font_$key.css`;

const env = process.env

let baseUrl = '/enterprise-bladex-dev';
let webUrl = 'http://localhost:8080/szyq' // 门户网站的地址
let codeUrl = `${baseUrl}/code`

if (env.NODE_ENV === 'development') {
  // 开发环境地址
  baseUrl = `/enterprise-bladex-dev`;
  webUrl = 'http://localhost:8080/szyq/'
} else if (env.NODE_ENV === 'production') {
  //生产环境地址
  baseUrl = `/enterprise-bladex`;
  webUrl = 'http://www.yqqyfw.com/szyq/'
} else if (env.NODE_ENV === 'tes') {
  //测试环境地址
  baseUrl = `/enterprise-bladex-dev`;
}
export {
  webUrl,
  baseUrl,
  iconfontUrl,
  iconfontVersion,
  codeUrl,
  env
}
